package org.metasketch.simulator.tools.channels.dynamic;

import java.util.ArrayList;
import java.util.List;

import org.metasketch.simulator.tools.channels.ChannelDefinition;
import org.metasketch.simulator.tools.transactions.StepDefinition;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import com.thoughtworks.xstream.annotations.XStreamOmitField;

@XStreamAlias("channel-distribution")
public class ChannelDistribution {

	@XStreamAsAttribute
	protected String aliases;

	@XStreamOmitField
	protected List<ChannelDefinition> channels = new ArrayList<ChannelDefinition>();

	@XStreamAsAttribute
	protected String expression;

	public String getAliases() {
		return aliases;
	}

	public void setAliases(String id) {
		this.aliases = id;
	}

	public String getExpression() {
		return expression;
	}

	public void setExpression(String expression) {
		this.expression = expression;
	}

	public List<ChannelDefinition> getChannels() {
		return channels;
	}

	public void setChannels(
			List<ChannelDefinition> channels) {
		this.channels = channels;
	}

}
